package 南京国睿信维;

public class Q_17 {
    public static void main(String[] args) {
        Thread thread = new Thread(){
            public void run() {
                pong();
            }
        };
        thread.run();  //thread.start();
        System.out.println("ping");
    }
    static void pong(){
        System.out.println("pong");
    }
}
